package cn.fws.meap.community.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.fws.framework.web.entity.BaseEntity;
import java.util.Date;

/**
 * 资源表 meap_resources
 * 
 * @author chenkh
 * @date 2019-03-07
 */
public class Resources extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private String id;
	/** 资源地址 */
	private String resAddress;
	/** 资源类型 */
	private String resType;
	/** 用户id */
	private String openid;

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}
	public void setResAddress(String resAddress) {
		this.resAddress = resAddress;
	}

	public String getResAddress() {
		return resAddress;
	}
	public void setResType(String resType) {
		this.resType = resType;
	}

	public String getResType() {
		return resType;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOpenid() {
		return openid;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("resAddress", getResAddress())
            .append("resType", getResType())
            .append("openid", getOpenid())
            .append("createTime", getCreateTime())
            .toString();
    }
}
